<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" th:href="@{images/favicon.ico}">
    <title>我的课程</title>
    <!-- Reset CSS -->
    <link href="css/reset.css" th:href="@{css/reset.css}" rel="stylesheet" type="text/css">
    <!-- Bootstrap -->
    <link href="assets/bootstrap/css/bootstrap.min.css" th:href="@{assets/bootstrap/css/bootstrap.min.css}" rel="stylesheet" type="text/css">
    <!-- Font Awesome -->
    <link href="assets/font-awesome/css/font-awesome.min.css" th:href="@{assets/font-awesome/css/font-awesome.min.css}" rel="stylesheet" type="text/css">
    <!-- Iconmoon -->
    <link href="assets/iconmoon/css/iconmoon.css" th:href="@{assets/iconmoon/css/iconmoon.css}" rel="stylesheet" type="text/css">
    <!-- Lightbox CSS -->
    <link href="assets/lightbox/css/lightbox.css" th:href="@{assets/lightbox/css/lightbox.css}" rel="stylesheet" type="text/css">
    <!-- Owl Carousel -->
    <link href="assets/owl-carousel/css/owl.carousel.min.css" th:href="@{assets/owl-carousel/css/owl.carousel.min.css}" rel="stylesheet" type="text/css">
    <!-- Animate -->
    <link href="css/animate.css" th:href="@{css/animate.css}" rel="stylesheet" type="text/css">
    <!-- Aos -->
    <link href="assets/aos/aos.css" th:href="@{assets/aos/aos.css}" rel="stylesheet" type="text/css">
    <!-- Custom Style -->
    <link href="css/custom.css" th:href="@{css/custom.css}" rel="stylesheet" type="text/css">
</head>
<body>
<header>
    <!-- Start Header Sec -->
    <div class="container header-sec">
        <div class="row">
            <span class="col-xs-12 col-sm-3 logo"><a href="javascript:;"><img src="images/logo.png" class="main img-responsive" alt="Fitness Gym"><img src="images/logo-fix.png" class="fix img-responsive" alt="Fitness Gym"></a></span>
            <div class="col-xs-12 col-sm-9 header-right">
                <!-- Start Navigation -->
                <nav class="navbar navbar-expand-md navbar-dark navbar-custom">
                    <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown">
                        <span class="navbar-toggler-icon"></span>
                    </button>
                    <div class="collapse navbar-collapse" id="navbarNavDropdown">
                        <ul class="navbar-nav">
                            <li class="nav-item active" id="oneLi">
                                <a class="nav-link" href="javascript:myselfChoose(1);">已购买课程</a>
                            </li>
                            <li class="nav-item "  id="twoLi">
                                <a class="nav-link" href="javascript:myselfChoose(2);">已结束课程</a>
                            </li>
                        </ul>
                    </div>
                </nav>
                <!-- End Navigation -->
            </div>
        </div>
    </div>
    <!-- End Header Sec -->
</header>
<!-- End Header -->

<!-- Start Finess Sec -->
<div class="finess-outer"  >
    <div class="container"  >
        <h3>今年夏天进行的健身课 <br/>立即 付款<br/> 将得到 <span>25%</span> 的折扣</h3>
    </div>
</div>
<!-- End Finess sec -->

<!-- Start Feature Classes -->
<div class="feature-outer classes-page">
    <div class="container" id="oneContainer">
        <div class="feature-list">
            <div class="row" id="myCourseDiv">

            </div>
        </div>
    </div> <!--OneContainer -->
    <div class="container" id="twoContainer" >
        <div class="feature-list">
            <div class="row" id="myCourseDiv1">

            </div>
        </div>
    </div><!--twoContainer-->
</div> <!-- End Feature sec -->

<!-- Modal 用于获取资料并显示-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="z-index: 99999;">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">课程当前信息</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            </div>
            <div class="modal-body">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-6 ">
                            <img src="images/feature-thumb8.png" width="100%" height="100%" id="mySample"/>
                        </div>
                        <div class="col-sm-6 ">
                            <p>课程名称:&nbsp;<span id="myCName" style="color: #009688;">有氧操课</span></p>
                            <p>购买时间:&nbsp;<span id="myBuyTime" style="color: #009688;">老王头</span></p>
                            <p>购买金额:&nbsp;<span id="myTotal" style="color: #009688;">老王头</span></p>
                            <p>总课时数:&nbsp;<span id="myNum" style="color: #009688;">老王头</span></p>
                            <p>剩余课时:&nbsp;<span id="myLastNum" style="color: #009688;">老王头</span></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="userId" th:value="${session.nowUser.uid}">
</body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js" th:src="@{js/jquery.min.js}"></script>
<!-- Bootstrap JS -->
<script src="assets/bootstrap/js/bootstrap.min.js" th:src="@{assets/bootstrap/js/bootstrap.min.js}"></script>
<!-- Lightbox JS -->
<script src="assets/lightbox/js/lightbox.js" th:src="@{assets/lightbox/js/lightbox.js}"></script>
<!-- Owl Carousal JS -->
<script src="assets/isotope/js/isotope.min.js" th:src="@{assets/isotope/js/isotope.min.js}"></script>
<!-- Owl Carousal JS -->
<script src="assets/owl-carousel/js/owl.carousel.min.js" th:src="@{assets/owl-carousel/js/owl.carousel.min.js}"></script>
<!-- Aos JS -->
<script src="assets/aos/aos.js" th:src="@{assets/aos/aos.js}"></script>
<!-- CounterUp JS -->
<script src="assets/counterup/counterup.min.js" th:src="@{assets/counterup/counterup.min.js}"></script>
<script src="assets/counterup/waypoints.min.js" th:src="@{assets/counterup/waypoints.min.js}"></script>
<!-- Custom JS -->
<script src="js/custom.js" th:src="@{js/custom.js}"></script>
<script th:src="@{js/member-course.js}"></script>
</html>